package com.pan.dao.couponHistory;

import com.pan.entity.CouponHistory;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CouponHistoryDao {
    Long insert(CouponHistory couponHistory);

    Integer selectCountByCouponIdAndUserId(Long userId,Long couponId);

    Integer useCoupon(CouponHistory couponHistory);

}
